<%-- 
    Document   : dangki
    Created on : Oct 7, 2011, 2:18:10 PM
    Author     : Rocker000
--%>
<%@ page language="java" import="captchas.CaptchasDotNet" %>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%CaptchasDotNet captchas = new captchas.CaptchasDotNet(request.getSession(true),"demo","secret");
String err = "";
if(request.getAttribute("err")!=null){err=String.valueOf(request.getAttribute("err"));}
%>

<!DOCTYPE html>
<form id="form1" name="form1" method="post" action="KhachHang_controller">
    <p><strong><blink><font color="green"><%=err %></font></blink></strong></p>
<table  width="70%" border="0">
  <tr>
    <td colspan="2" align="center"><strong><font color="#FF0000">ĐĂNG KÝ</font></strong></td>
  </tr>
  
  <tr>
      <td colspan="2"><span id="ktuser" ><p>&nbsp;</p></span ></td>
  </tr>
  
  <tr>
    <td width="200px">UserName</td>
    <td width="64%" align="left">
        <input type="text" name="txtusername" id="txtusername" onkeyup="kiemtratendangnhap('txtusername','ktuser');" /></td>
  </tr>
  
  <tr>
    <td>Mật khẩu</td>
    <td align="left"><input type="password" name="txtmatkhau" id="txtmatkhau" /></td>
  </tr>
  <tr>
    <td>Lặp lại mật khẩu</td>
    <td align="left"><input type="password" name="txtlaplaimatkhau" id="txtlaplaimatkhau" /></td>
  </tr>
  <tr>
    <td>Tên thật</td>
    <td align="left"><input type="text" name="txttenkhachhang" id="txthovaten" /></td>
  </tr>
  <tr>
    <td>Email</td>
    <td align="left"><input type="text" name="txtemail" id="txtemail" /></td>
  </tr>
  <tr>
    <td>Địa chỉ</td>
    <td align="left"><input type="text" name="txtdiachi" id="txtdiachi" /></td>
  </tr>
  <tr>
    <td>Số điện thoại</td>
    <td align="left"><input type="text" name="txtsodienthoai" id="txtsodienthoai" /></td>
  </tr>
  <tr>
    <td>Mã bảo vệ</td>
    <td><img src="CapChas/Cap_Img.jsp" onclick="window.location.href=window.location.href" title="Click để đổi mã mới!" ></td>
    
    
  </tr>
  <tr>
      <td width="36%" >Nhập Mã Bảo Vệ:</td>
      <td>          
          <input type="text" name="txtmabaove" id="txtmabaove"  /> 
      </td>
  </tr>
  <tr>
      <td colspan="2"><span id="loi" ><p>&nbsp;</p></span ></td>
  </tr>
  <tr>
    <td colspan="2">
        <table width="100%" border="0">
      <tr>
        <td align="center">
            <input type="submit" name="button" id="button" value="Đăng Ký" onclick="return kiemtradangki();" />
            <input type="hidden" name="action" value="dangki">
        </td>
        
      </tr>
    </table></td>
    </tr>
</table>

</form>
